
public class GroupThreeProject1 {
	public static void main(String[] args) {
		System.out.println(fibonacci(10));
	}
	
	public static int fibonacci(int n){
		if(n<=0){
			System.out.println("Error: cannot compute the fibonacci of this.");
			return -1;
		}
		
		else if(n<=2){
			return 1;
		}
		else{
			return fibonacci(n-1) + fibonacci(n-2);
		}
	}
}
